<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>test01</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            background-color: #eeeeee;
        }

        .content {
            width: 800px;
            height: 320px;
            padding-left: 20px;
            margin: 80px auto;
        }

        .xg {
            width: 230px;
            height: 300px;
            text-align: center;
            margin-right: 20px;
            background-color: #FFF;
            float: left;
            position: relative;
            top: 0;
            overflow: hidden; 
            transition: all .5s; 
        }

        img {
            margin-top: 30px;
        }

        .cs {
            position: absolute;
            left: 0;
            bottom: -80px;
            width: 100%;
            height: 80px;
            background-color: #ff6700;
            transition: all .5s;
        }
       
        .xg:hover {
            top: -5px;
            box-shadow: 0 0 15px #AAA;
        }

        .xg:hover .cs {
            bottom: 0;
        }
    </style>
</head>
<body>
    <div class="content">
        <div class="xg">
            <img src="./1.png" alt="">
        </div>
        <div class="xg">
            <img src="./2.png" alt="">
            <span class="cs"></span>
        </div>
        <div class="xg">
            <img src="./3.jpg" alt="">
            <span class="cs"></span>
        </div>
    </div>
</body>
</html>